We are migrating the bug tracker to github Issues. This is now the preferred way to report NASM bugs.

Self-registration is disabled due to spam issue (mail gorcunov@gmail.com or hpa@zytor.com to create an account)

Bug 3392442 - ~80h as byte immediate warns for "byte data exceeds bounds"
Summary: ~80h as byte immediate warns for "byte data exceeds bounds"
Status: RESOLVED FIXED
Alias: None
Product: NASM
Classification: Unclassified
Component: Assembler (show other bugs)
Version: 2.13.xx
Hardware: All All
: Medium annoyance
Assignee: H. Peter Anvin
URL:
Depends on:
Blocks:
 
Reported: 2017-10-07 04:47 PDT by E. C. Masloch
Modified: 2017-10-11 16:17 PDT (History)
3 users (show)

Obtained from: Binary from nasm.us
Generated by: ---
Bug category:
Observed for: ---
Regression: ---
Regression since:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description E. C. Masloch 2017-10-07 04:47:28 PDT
$ nasm -v
NASM version 2.13.02rc2 compiled on Sep 27 2017
$ cat test.asm 
and byte [0], ~80h
$ nasm test.asm 
test.asm:1: warning: byte data exceeds bounds [-w+number-overflow]
$ 

Expected: No warning.
Comment 1 H. Peter Anvin 2017-10-11 16:17:01 PDT
Fixed in checkin aaefc7fe6b9e4302ae0a9353695e9680de083913.  The duplicate warning for the cases of valid warnings is resolved in checkin 
89215e9e371b825f589cb9ebd220a5d97c8f2dc0.